home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 2.0 Developer Kit / QuickTime 2.0 Developer Kit.iso / mac / MAC / Programming Stuff / Interfaces / CIncludes / PLStringFuncs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-21  |  1.3 KB  |  51 lines  |  [TEXT/MPS ]

  1. /*
  2.     PLStringFuncs.h -- C string conversion functions for pascal
  3.         
  4.     Copyright Apple Computer,Inc.  1989, 1990
  5.     All rights reserved
  6.  
  7. */
  8.  
  9. #ifndef __PLSTRINGFUNCS__
  10. #define __PLSTRINGFUNCS__
  11.  
  12. #ifndef    __TYPES__
  13. #include <Types.h>
  14. #endif
  15.  
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19.  
  20. #ifdef __CFM68K__
  21.     #ifdef UsingSharedLibs
  22.         #pragma lib_export on
  23.     #endif
  24. #endif
  25.  
  26. pascal short        PLstrcmp(ConstStr255Param str1, ConstStr255Param str2);
  27. pascal short         PLstrncmp(ConstStr255Param str1, ConstStr255Param str2, short num);
  28. pascal StringPtr     PLstrcpy(StringPtr str1, ConstStr255Param str2);
  29. pascal StringPtr     PLstrncpy(StringPtr str1, ConstStr255Param str2, short num);
  30. pascal StringPtr    PLstrcat(StringPtr str1, ConstStr255Param str2);
  31. pascal StringPtr     PLstrncat(StringPtr str1, ConstStr255Param str2, short num);
  32. pascal Ptr             PLstrchr(ConstStr255Param str1, short ch1);
  33. pascal Ptr             PLstrrchr(ConstStr255Param str1, short ch1);
  34. pascal Ptr             PLstrpbrk(ConstStr255Param str1, ConstStr255Param str2);
  35. pascal short         PLstrspn(ConstStr255Param str1, ConstStr255Param str2);
  36. pascal Ptr             PLstrstr(ConstStr255Param str1, ConstStr255Param str2);
  37. pascal short         PLstrlen(ConstStr255Param str);
  38. pascal short        PLpos(ConstStr255Param str1, ConstStr255Param str2);
  39.  
  40. #ifdef __CFM68K__
  41.     #ifdef UsingSharedLibs
  42.         #pragma lib_export off
  43.     #endif
  44. #endif
  45.  
  46. #ifdef __cplusplus
  47. }
  48. #endif
  49.  
  50. #endif
  51.